
import Vue from 'vue'
import Router from 'vue-router'
Vue.use(Router)
import login from '@/Views/Home/home'
import testPage from '@/views/testPage_detail'

export default new Router({
    routes: [
        {
            path: '/',
            name: 'HelloWorld',
            component: HelloWorld,
            redirect: '/login',
            children: [
                {
                    path: 'testPage',
                    name: 'testPage',
                    component: testPage
                }
            ]
        },
        {
            path: '/login',
            name: 'login',
            component: login,
        }
    ]
})
